package sm.util;

import sm.codec.type.NullValue;

public class RADFunction {
	public static Object nullsub(Object value, Object defaultValue) {
		if (value == null || value instanceof NullValue) {
			return defaultValue;
		} else {
			return value;
		}
	}
}
